import { createRouter, createWebHistory } from "vue-router";
import { routes } from "./commonRoutes";

export const router = createRouter({
  history: createWebHistory(),
  routes,
});

export const setupRouter = (app) => {
  return app.use(router);
};
